﻿using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using PlatformNetCore.Entity;
using PlatformNetCore.Entity.Models;

namespace PlatformNetCore.IService
{
    public interface ISmtpTemplateService
    {
        #region SmtpTemplate
        LayPager<SmtpTemplate> GetSmtpTemplatePagedList(int pageIndex, int pageSize, Expression<Func<SmtpTemplate, bool>> predicate);
        ResultResponse<SmtpTemplate> GetSmtpTemplate(string id);
        ResultResponse AddSmtpTemplate(SmtpTemplate model);
        ResultResponse UpdateSmtpTemplate(SmtpTemplate model);
        ResultResponse UpdateSmtpTemplateState(List<string> ids, string userName, DataStatus dataStatus);
        #endregion
    }
}
